﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMS.ENT
{
    public class ScheduleItemENT
    {
        public static string _Table = "Schedules";

        public int ScheduleItemID { get; set; }
        public int ScheduleID { get; set; }
        public DateTime FromDate { get; set; }
        public DateTime ToDate { get; set; }
        public string Description { get; set; }
        public string Status { get; set; }
        public string Work { get; set; }
        public decimal Percent { get; set; }
        public int CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public int UpdateBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int Isdeleted { get; set; }

        public int ScheduleStatementID { get; set; }
        public decimal Mark { get; set; }
        public decimal LineNet { get; set; }

        public ScheduleItemENT()
        {

        }
    }

    public enum ScheduleItemColumns
    {
        ScheduleItemID,
        ScheduleID,
        FromDate,
        ToDate,
        Description,
        Status,
        Work,
        Percent,
        CreatedBy,
        CreatedDate,
        UpdateBy,
        UpdateDate,
        Isdeleted,

        ScheduleStatementID,
        Mark,
        LineNet,

    }

    public class ScheduleItemCollection : List<ScheduleItemENT>
    {
        public ScheduleItemCollection()
            : base()
        { }

        public ScheduleItemCollection(IEnumerable<ScheduleItemENT> collection)
            : base(collection)
        { }
    }
}
